<%--
  Created by IntelliJ IDEA.
  User: 17484
  Date: 2021/9/4
  Time: 14:27
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>登陆页面</title>
</head>
<body>
<h1>登录页面</h1>
<%
    String errorCode = request.getParameter("error");
    if(errorCode!=""&&errorCode!=null){
        out.print("登录失败");
    }
%>
<form action="login.do" method="post">
    <table border="1">
        <tr>
            <td>用户名</td>
            <td><input name="userName" type="text" /></td>
        </tr>
        <tr>
            <td>密码</td>
            <td><input  name="userPwd" type="password" /></td>
        </tr>
        <tr>
            <td><input type="submit" value="登录" /></td>
            <td><input type="reset" value="重置" /></td>
        </tr>
    </table>
</form>

</body>
</html>
